package com.epidata.exam.model;

import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.UniqueConstraint;
import javax.xml.bind.annotation.XmlRootElement;

@Entity
@XmlRootElement
@Table(uniqueConstraints = @UniqueConstraint(columnNames = "email"))
public class Member extends Person {


	public Member() {
		super();
	}


	public Member(Long id, String name, String phoneNumber, String email) {
		super(id, name, phoneNumber, email);
	}

	/** Default value included to remove warning. Remove or modify at will. **/
	private static final long serialVersionUID = -5124630165000856078L;


}